#pragma once

#include "../umlmodel_global.h"

#include "PackageableElement.h"

namespace uml {

/// <summary>
/// Observation
/// Observation specifies a value determined by observing an event or events that
/// occur relative to other model Elements.
/// </summary>
class UMLMODEL_EXPORT Observation : public PackageableElement {

public: // Constructors and destructors
    explicit Observation(const QString& umlType="uml::Observation");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
